//
//  TipsView.h
//  CarCare
//
//  Created by ileo on 14-8-12.
//  Copyright (c) 2014年 baozun. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TipsView : UIView

-(void)addLeftButton:(NSString *)left clickLeft:(void (^)())clickLeft rightButton:(NSString *)right clickRight:(void (^)())clickRight;//设置左侧和右侧按钮

-(void)addOKButton:(NSString *)ok clickOK:(void (^)())clickOK;//确认按钮
- (void)addRedOkButton:(NSString *)ok clickOK:(void (^)())clickOK;//设置红色的确认按钮

/**
    注意：若没有副标题的情况下给lightTitles 设置值，title置为nil
 */
+(TipsView *)upgradeTipsWithTitle:(NSString *)title lightTitles:(NSArray *)lightTitles cancelClick:(void (^)())cancelClick;//升级新版本提示框
+ (TipsView *)commentTipsWithTitle:(NSString *)title lightTitles:(NSArray *)lightTitles cancelClick:(void (^)())cancelClick;//新版本评论提示框
+(TipsView *)okTipsWithTitle:(NSString *)title lightTitles:(NSArray *)lightTitles;
+(TipsView *)warnTipsWithTitle:(NSString *)title lightTitles:(NSArray *)lightTitles;
+(TipsView *)voiceTipsWithTitle:(NSString *)title lightTitles:(NSArray *)lightTitles;
+(TipsView *)textTipsWithTitle:(NSString *)title lightTitles:(NSArray *)lightTitles;
+(TipsView *)textSmallTipsWithTitle:(NSString *)title lightTitles:(NSArray *)lightTitles;

+(UIView *)tipsNoDataInScreenView:(UIView *)screenV;
+(UIView *)tipsNoRewardInScreenView:(UIView *)screenV;

@end
